package easymall.pojo;


//留言表
public class Coll {
	private String name;
	private String content;
	private String time;
	
	public Coll() {
	}
	
	public Coll(String content) {
		super();
		this.content = content;
	}
	
	public Coll(String name, String content) {
		super();
		this.name = name;
		this.content = content;
	}
	
	public Coll(String name, String content,String time) {
		super();
		this.name = name;
		this.content = content;
		this.time = time;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		if(name==null) {
			return "name=匿名用户  ,"+"content="+ content;
		}else {
			return "name=" + name + ", content=" + content;
		}
	}
	
	
	
}
